package com.keensense.vcm.model.enums;

import javax.xml.bind.annotation.XmlEnumValue;

/**
 * 证件类型，枚举类型 0：身份证 1：护照 2：学生证 3：军官证 4：驾照 5：其他
 * 
 * @author lanjian
 * @date 2020/5/13 2:04 下午
 */
public enum CredentialTypeEnum {
    @XmlEnumValue(value = "0") IDENTITY_CARD(0, "身份证"), @XmlEnumValue(value = "1") PASSPORT(1, "护照"),
    @XmlEnumValue(value = "2") STUDENT_ID_CARD(2, "学生证"), @XmlEnumValue(value = "3") MILITARY_ID(3, "军官证"),
    @XmlEnumValue(value = "4") DRIVING_LICENSE(4, "驾照"), @XmlEnumValue(value = "5") OTHER(5, "其他");

    CredentialTypeEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    private int value;

    private String desc;

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
